﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Practices.Unity;

namespace IoCNamed.UnityNameResolver
{
    // Наш делегат для получения имени
    public delegate string NameResolverDelegate(Type typeToBuild);

    // Интерфейс-конфигуратор
    public interface INameResolverExtensionConfigurator : IUnityContainerExtensionConfigurator
    {
        INameResolverExtensionConfigurator RegisterDelegatedName<TTypeToBuild>(NameResolverDelegate resolver);
    }
}
